package com.crm.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.crm.entity.Thumbnail;

public interface ThumbnailDao extends JpaRepository<Thumbnail, String>,JpaSpecificationExecutor<Thumbnail>{

	List<Thumbnail> findByPhotoId(String photoId);

}
